package com.xin.di.uav.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单商品关联表
 * </p>
 *
 * @author LTQ
 * @since 2023-12-12
 */
@TableName("order_commodity")
@ApiModel(value = "OrderCommodity对象", description = "订单商品关联表")
@Data
public class OrderCommodity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private Date createTime;

    private Date updateTime;

    @ApiModelProperty("订单号")
    private String orderSn;

    @ApiModelProperty("商品id")
    private String commodityId;

    private String speId;

    @ApiModelProperty("数量")
    private Integer cnt;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("图片数组，主图放在第一")
    private String images;

    @ApiModelProperty("商品简介")
    private String introduction;


    /**
     * 规格值
     */
    private String value;

    private String value2;

    private String value3;

    private String value4;
    private String value5;

}
